<!--
Siehe http://framework.zend.com/manual/de/zend.paginator.usage.html
-->
<?php if ($this->pageCount): ?>
<select id="paginationControl" onchange="test_loadurl(this);" size="1">
<?php foreach ($this->pagesInRange as $page): ?>
  <?php $selected = ($page == $this->current) ? ' selected="selected"' : ''; ?>
  <option value="<?php echo $this->url(array('page' => $page)); ?>"<?php echo $selected ?>><?php echo $page; ?></option>
<?php endforeach; ?>
</select>
<?php endif; ?>

<script type="text/javascript">
	function test_loadurl(select) {
		window.location = select.options[select.selectedIndex].value;
	}
</script>
